package com.ruoyi.fast.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 公司信息对象 mes_company
 * 
 * @author ruoyi
 * @date 2024-01-22
 */
public class MesCompany extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增ID */
    private String id;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String name;

    /** 公司拼音首字母大写 */
    @Excel(name = "公司拼音首字母大写")
    private String nameKey;

    /** 电话 */
    @Excel(name = "电话")
    private String mobile;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 状态（0正常1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常1停用")
    private String status;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contact;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setNameKey(String nameKey) 
    {
        this.nameKey = nameKey;
    }

    public String getNameKey() 
    {
        return nameKey;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setContact(String contact) 
    {
        this.contact = contact;
    }

    public String getContact() 
    {
        return contact;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("nameKey", getNameKey())
            .append("mobile", getMobile())
            .append("address", getAddress())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("contact", getContact())
            .toString();
    }
}
